package com.resume.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: 梁云亮
 * @Date: 2021/7/17 8:54
 * @Describe:工资等级表
 */
@ApiModel(value = "工资等级表：SalaryGrade")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_salary_grade")
public class SalaryGrade implements Serializable {
    private static final long serialVersionUID = 1320785746521316537L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Integer id;

    /**
     * 此等级最低工资
     */
    @TableField(value = "low")
    @ApiModelProperty(value = "此等级最低工资")
    private Integer low;

    /**
     * 此等级最高工资
     */
    @TableField(value = "high")
    @ApiModelProperty(value = "此等级最高工资")
    private Integer high;
}